<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<h3>Login with Username and Password</h3><br />
<form name='f' action='j_spring_security_check' method='POST'> 
	<div id="errorArea" class="errorBox" style="font: medium;color: red"> 
       <c:if test="${not empty param.error}">
          ${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}
      </c:if>
  	</div>
	<label for="login">
        Username:
        <input type='text' id="login" name='j_username' value='' >        
    </label>
	<br /><br />
    <label for="password">
        Password:           
        <input id="password" name="j_password" type="password" />
    </label>
    <br />
    	<input id="_spring_security_remember_me" name="_spring_security_remember_me" type="checkbox" value="true"/>
		<label for="_spring_security_remember_me">Remember Me?</label>
	<br />
    <br />
    <input type="submit" tabindex="3" name="login" class="formButton" value="Login" />
	<input name="reset" type="reset"/>
</form>
